import 'package:fluent_ui/fluent_ui.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:music_together/business/component/left_navigation_bar/left_navigation_bar_logic.dart';
import 'package:music_together/business/component/left_navigation_bar/left_navigation_bar_view.dart';
import 'package:music_together/business/component/right_message/right_message_view.dart';

import 'main_logic.dart';

class MainPage extends StatelessWidget {
  MainPage({Key? key}) : super(key: key);

  final logic = Get.find<MainLogic>();
  final leftMenuLogic = Get.find<LeftNavigationBarLogic>();

  @override
  Widget build(BuildContext context) {
    return FluentApp(
      home: LeftNavigationBarComponent(),
      locale: const Locale('zh'),
    );
  }
}
